package com.situ.fly.entity;
/**
 * 
 * 
 *  User实体类，与数据库中的user表对应
 *  1、实体类名与数据表名对应
 *  2、实体类中的属性要与数据表中的字段对应
 *        属性名与字段名保持一致
 *        属性类型与字段类型保持一致
 *  3、实体类的属性要私有化
 *        使用private关键字修饰属性
 *        提供公共的get和set方法
 *        
 *   4、实体类必须有一个无参构造方法
 *
 */

import java.util.Date;

public class User {
       Integer id;//包装类数据类型
     private  String username;
     private  String password;
     private  String nickname;
     private  String sex;
     private  String city;
     private  String phone;
     private String email;
     private String head;
     private String signature;
     private Integer kiss;
     private Integer vip;
     private  Integer role;
     private  Date regtime;//java.util.date
     private  String cert;
     private  Integer status;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getHead() {
		return head;
	}
	public void setHead(String head) {
		this.head = head;
	}
	public String getSignature() {
		return signature;
	}
	public void setSignature(String signature) {
		this.signature = signature;
	}
	public Integer getKiss() {
		return kiss;
	}
	public void setKiss(Integer kiss) {
		this.kiss = kiss;
	}
	public Integer getVip() {
		return vip;
	}
	public void setVip(Integer vip) {
		this.vip = vip;
	}
	public Integer getRole() {
		return role;
	}
	public void setRole(Integer role) {
		this.role = role;
	}
	public Date getRegtime() {
		return regtime;
	}
	public void setRegtime(Date regtime) {
		this.regtime = regtime;
	}
	public String getCert() {
		return cert;
	}
	public void setCert(String cert) {
		this.cert = cert;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
    
      
      
      
      
	
}


